<!--
 * @Author: IBOSS 2776641037@qq.com
 * @Date: 2025-08-15 13:36:51
 * @LastEditors: IBOSS 2776641037@qq.com
 * @LastEditTime: 2025-08-15 14:10:57
 * @FilePath: \hm-admin\src\views\car\CarArea.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<script setup lang="ts">
// 树形组件所需的数据结构888fd
interface Tree {
  title: string;
  children?: Tree[];
}

const data: Tree[] = [
  {
    title: "阿里",
    children: [
      {
        title: "支付宝",
        children: [
          { title: "花呗8" },
          { title: "借呗" },
          { title: "xxx" },
          { title: "xx" },
        ],
      },
      { title: "蚂蚁金服" },
      { title: "天猫" },
      { title: "淘宝" },
    ],
  },
  {
    title: "腾讯",
    children: [
      { title: "QQ音乐" },
      { title: "腾讯视频" },
      { title: "微信" },
      { title: "微信阅读" },
    ],
  },
  { title: "华为" },
];
</script>

<template>
  <div class="car-area-page">
    <!-- 
      el-tree 树形组件
        show-checkbox
        default-expand-all
        
    -->
    <el-tree
      :data="data"
      show-checkbox
      default-expand-all
      :props="{ label: 'title' }"
    />
  </div>
</template>

<style lang="scss" scoped></style>
